.header {
  position: relative;
  margin-bottom: 75rpx;

  .swiper {
    width: 100%;
    height: 360rpx;
    background-color: #ffffff;

    .img {
      width: 100%;
      height: 100%;
    }
  }

  .search {
    position: absolute;
    bottom: -45rpx;
    left: 60rpx;
    right: 60rpx;
    padding: 0 30rpx;
    height: 90rpx;
    border-radius: 45rpx;
    background-color: #ffffff;
    box-shadow: var(--main-shadow);

    .ipt {
      flex: 1;
      padding: 24rpx 0;
    }

    .icon {
      padding: 12rpx;
    }
  }
}

.box{
  border-radius: 20rpx;
  padding: 20rpx 0;
  .news_title{
    padding: 0 30rpx;
    font-size: 30rpx;
    display: flex;
    justify-content: space-between;
    color: #333333;
    .title_left{
      font-size: 28rpx;
      font-weight: 600;
    }
    .title_right{
      font-size: 24rpx;
      color: #666666;
    }
  }
  .list{
    padding: 15rpx;
    padding-bottom: 0;
    .item{
      border-top: 5rpx solid #eeeeee;
    }
    .notice{
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 5rpx 10rpx;
      .name{
        width: 85%;
        font-size: 26rpx;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
      }
      .time{
        font-size: 24rpx;
        color: #666666;
        font-weight: 400;
      }
    }
  }

  .jobs{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    .job{
      margin-top: 20rpx;
      margin-bottom: 10rpx;
      width: 44%;
      background-color: #ffffff;
      border-radius: 18rpx;
      overflow: hidden;
      transition: 300ms;
      .head{
        width: 100%;
        height: 240rpx;
      }
      .info{
        padding: 12rpx;
        .title{
          height: 1.6em;
          font-size: 29rpx;
          font-weight: 600;
          display: -webkit-box;
          -webkit-box-orient: vertical;
          -webkit-line-clamp: 1;
          overflow: hidden;
          text-overflow: ellipsis;
        }
        .desc{
          font-size: 22rpx;
          color: #808080;
          line-height: 1.5em;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
        }
        .tail{
          padding: 10rpx;
          display: flex;
          align-items: center;
          .label{
            font-size: 22rpx;
            font-weight: 600;
            color: white;
            padding: 4rpx 24rpx 4rpx 24rpx;
            background: linear-gradient(to right, #f6d365, #fda085);
            clip-path: polygon(0 0, 90% 0, 100% 50%, 90% 100%, 0 100%, 10% 50%);
            font-style: italic;
          }
          .state{
            margin-left: auto;
          }
        }
      }
    }
    .job:active{
      background-color: white;
    }
  }

  &.hidden {
    margin: 0;
    background-color: #00000000;
  }
}